package org.Raven.domain.rebate.reposiyory;

import org.Raven.domain.rebate.model.aggreate.BehaviorRebateAggregate;
import org.Raven.domain.rebate.model.entity.BehaviorRebateOrderEntity;
import org.Raven.domain.rebate.model.valobj.BehaviorTypeVO;
import org.Raven.domain.rebate.model.valobj.DailyBehaviorRebateVO;

import java.util.List;

/**
 * @Description
 * @Author Raven
 * @Date 2025/3/13
 */
public interface IBehaviorRebateRepository {
    List<DailyBehaviorRebateVO> queryDailyBehaviorRebateConfig(BehaviorTypeVO behaviorTypeVO);

    void saveUserRebateRecord(String userId, List<BehaviorRebateAggregate> behaviorRebateAggregates);

    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
